/* pfs82UpdateSign.h
 *
 * --
 * Copyright (c) 2012, Christophe Huriaux
 * Distributed under the terms of the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * --
 */

#ifndef MCPACKET_pfs82_H
#define MCPACKET_pfs82_H

#include <string>
#include <iostream>
#include <stdint.h>
#include <vector>
#include <packet/McPacket.h>

class pfs82UpdateSign : public McPacketFromServer
{
    int32_t x;
    int16_t y;
    int32_t z;
    std::string text1;
    std::string text2;
    std::string text3;
    std::string text4;

public:
    pfs82UpdateSign();

    int16_t setField(uint8_t field, void* value);
    unsigned int length();

    int32_t getX();
    int16_t getY();
    int32_t getZ();
    std::string getText1();
    std::string getText2();
    std::string getText3();
    std::string getText4();

};

#endif // MCPACKET_pfs82_H
